<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}"/>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        body {
            font-family: 'Roboto', sans-serif;
            font-size: 15px;
        }

        pre {
            background-color: #283142;
            color: white;
            font-size: 16px;
            font-family: Roboto, serif;
        }

        .code-block {
            background-color: #283142;
            color: white;
            font-size: 16px;
            font-family: Roboto, serif;
        }

        .layui-table td, .layui-table th {
            color: #0C0C0C;
            font-size: 15px;
        }

        .layui-table th {
            text-align: center;
        }

        /* .layui-table th {
             font-weight: bold;
         }*/

        .headerTitle {
            font-family: Roboto, serif;
            margin-top: 30px;
            font-weight: bold;
        }

        #urlSpan:hover {
            cursor: pointer;
        }


        /*.layui-tab-title li {
            font-size: 18px;
            font-family: Roboto, serif;
            padding: 0 5%;
        }*/

        .layui-code {
            font-size: 14px;
            font-family: Roboto, serif;
        }

        #editDocDescriptionBtn:hover {
            cursor: pointer;
        }

        tr:hover {
            cursor: pointer;
        }

        body {
            background-color: white;
        }

    </style>
</head>
<body>

<script th:src="@{/layui/layui.js}"></script>
<script th:src="@{/admin/js/jquery.js}"></script>
<script>

    var data = [
        {
            "label": "安徽省",
            "id": "001",
            "isOpen": true,
            "children": [
                {
                    "label": "淮北市",
                    "id": "001001"
                },
                {
                    "label": "马鞍山市",
                    "id": "001002",
                    "isOpen": true,
                    "children": [
                        {
                            "label": "花山区",
                            "id": "001002001",
                            "isOpen": true,
                            "children": [
                                {
                                    "label": "霍里街道",
                                    "disabled": true,
                                    "checked": true,
                                    "id": "001002002001",
                                    "radioDisabled": true
                                },
                                {
                                    "label": "桃源路",
                                    "id": "001002002002"
                                },
                                {
                                    "label": "湖东路",
                                    "checked": true,
                                    "id": "001002002003",
                                    "radioChecked": true
                                }
                            ]
                        },
                        {
                            "label": "雨山区",
                            "id": "001002002"
                        },
                        {
                            "label": "和县",
                            "id": "001002003"
                        }
                    ]
                },
                {
                    "label": "合肥市",
                    "id": "001003"
                }
            ]
        },
        {
            "label": "河南省",
            "id": "002",
            "children": [
                {
                    "label": "郑州市",
                    "id": "002001"
                },
                {
                    "label": "开封市",
                    "id": "002002"
                }
            ]
        },
        {
            "label": "江苏省",
            "id": "003",
            "children": [
                {
                    "label": "苏州市",
                    "id": "003001"
                },
                {
                    "label": "南京市",
                    "id": "003002"
                },
                {
                    "label": "无锡市",
                    "id": "003003"
                },
                {
                    "label": "徐州市",
                    "id": "003004"
                }
            ]
        }
    ];

    layui.config({
        base: '/restdoc/layui/lay/extends/'
    }).use(['eleTree', 'layer'], function () {
        var eleTree = layui.eleTree;
        var layer = layui.layer;
        eleTree({})
    });
</script>
</body>
</html>